package com.wsoft.cms.vo.category;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author z001
 * @Date 2024/11/27 14:12
 */
@Data
public class CmsCategoryInfoVO {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "级别")
    private Integer level;

    @Schema(description = "父类型")
    private Long paId;

    @Schema(description = "启用标识")
    private Integer enableFlag;

    @Schema(description = "是否启用流程")
    private Integer bpmFlag;

    @Schema(description = "是否自定义")
    @TableField("bpm_self_flag")
    private Integer bpmSelfFlag;

    @Schema(description = "如果启用流程，默认的流程")
    private String businessCode;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "组织id集合")
    private List<Long> orgIdList;
}
